package com.xin.di.uav.operate.service;

import com.alibaba.fastjson.JSONObject;
import com.xin.di.uav.common.request.order.CancelWaybillRequest;
import com.xin.di.uav.common.request.order.CarrierWaybillRequest;
import com.xin.di.uav.common.request.order.PlaceOrderRequest;
import com.xin.di.uav.common.request.order.SelectOrderRequest;

/**
 * @author LTQ
 */
public interface IntraCityService {

    /**
     * 查询接口
     *
     * @param carrierWaybillRequest
     * @return
     */
    JSONObject carrierWaybill(CarrierWaybillRequest carrierWaybillRequest);

    /**
     * 下单接口
     *
     * @param placeOrderRequest
     * @return
     */
    JSONObject placeOrder(PlaceOrderRequest placeOrderRequest);

    /**
     * 下单接口
     *
     * @return
     */
    JSONObject selectTerminalList();

    /**
     * 查询订单
     *
     * @param selectOrderRequest
     * @return
     */
    JSONObject selectOrder(SelectOrderRequest selectOrderRequest);


    /**
     * 取消订单
     *
     * @param cancelWaybillRequest
     * @return
     */
    JSONObject cancelWaybill(CancelWaybillRequest cancelWaybillRequest);
}
